package com.quanyan.platform.model.resp;


import com.quanyan.platform.thrift.gathering.CircleItem;

import java.io.Serializable;

/**
 * Created by slong.guo on 2017/3/3.
 */
public class GatherSpotItem implements Serializable {
    private static final long serialVersionUID = -7405971192159796870L;

    private String circleName; // required
    private int circleID; // required
    private int sportType; // required
    private int stadiumNum; // required
    private int clubNum; // required
    private int activityNum; // required
    private double longitude; // required
    private double latitude; // required
    private int distance; // required

    public GatherSpotItem() {
    }

    public GatherSpotItem(CircleItem ci) {
        this.circleName = ci.getCircleName();
        this.circleID = ci.getCircleID();
        this.sportType = ci.getSportType();
        this.stadiumNum = ci.getStadiumNum();
        this.clubNum = ci.getClubNum();
        this.activityNum = ci.getActivityNum();
        this.longitude = ci.getLongitude();
        this.latitude = ci.getLatitude();
        this.distance = ci.getDistance();
    }

    public GatherSpotItem(String circleName, int circleID, int sportType, int stadiumNum, int clubNum, int activityNum, double longitude, double latitude, int distance) {
        this.circleName = circleName;
        this.circleID = circleID;
        this.sportType = sportType;
        this.stadiumNum = stadiumNum;
        this.clubNum = clubNum;
        this.activityNum = activityNum;
        this.longitude = longitude;
        this.latitude = latitude;
        this.distance = distance;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public boolean isValid() {
        return this.circleName != null;
    }

    public String getCircleName() {
        return circleName;
    }

    public void setCircleName(String circleName) {
        this.circleName = circleName;
    }

    public int getCircleID() {
        return circleID;
    }

    public void setCircleID(int circleID) {
        this.circleID = circleID;
    }

    public int getSportType() {
        return sportType;
    }

    public void setSportType(int sportType) {
        this.sportType = sportType;
    }

    public int getStadiumNum() {
        return stadiumNum;
    }

    public void setStadiumNum(int stadiumNum) {
        this.stadiumNum = stadiumNum;
    }

    public int getClubNum() {
        return clubNum;
    }

    public void setClubNum(int clubNum) {
        this.clubNum = clubNum;
    }

    public int getActivityNum() {
        return activityNum;
    }

    public void setActivityNum(int activityNum) {
        this.activityNum = activityNum;
    }

    public int getDistance() {
        return distance;
    }

    public void setDistance(int distance) {
        this.distance = distance;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }
}
